package com.jar.exercise.网络编程.URL编程;

import java.io.IOException;
import java.net.URL;

/**
 * @author ZhangShengHao
 * @className Demo3
 * @description TODO
 * @date 2020/2/2 16:05
 */
public class Demo3 {
	public static void main(String[] args) throws IOException {
		URL url = new URL("http://192.168.234.1:8080/hello.txt");
		String file = url.getFile();
		System.out.println(file);
	}
}
